package com.wyy.ems_vue;

import com.wyy.ems_vue.utils.VerifyCodeUtils;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@Slf4j
@SpringBootApplication
@MapperScan("com.wyy.ems_vue.dao") //扫描的mapper
@EnableCaching//开启缓存
public class EmsVueApplication {

    public static void main(String[] args) {
        SpringApplication.run(EmsVueApplication.class, args);
        log.info("----前后端分离员工系统启动-------");

    }

}
